package com.xlk.restful.dao;

import java.io.IOException;
import java.util.List;

import com.xlk.restful.domain.MapBean;
import com.xlk.restful.domain.User;
import com.xlk.restful.domain.Users;

/**
 * 
 * TODO </br> 
 * 类名: RESTSampleDAO </br> 
 * 日期: 2014-2-28 上午11:03:24 </br> 
 * @author 许立亢 
 * @version 1.0
 */
public interface RESTSampleDAO {
	
	    public String doGet();
	    
	    public String doRequest(String param);
	    
	    public User getBean(int id);
	    
	    public List<User> getList();
	    
	    public MapBean getMap();
	    
	    public User postData(User user) throws IOException;
	    
	    public User putData(int id, User user);
	    
	    public void deleteData(int id);
}
